package com.dingding.entity.request.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserListRequest {

    @ApiModelProperty(value = "当前页")
    private int page = 1;

    @ApiModelProperty(value = "页码大小")
    @Max(value = 100, message = "页码最大不能大于20")
    private int size = 10;

    @ApiModelProperty(value = "用户姓名")
    private String userName; //	String	用户姓名

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber; //	String	手机号码

    @ApiModelProperty(value = "企业邮箱")
    private String enterpriseEmail; //	String	企业邮箱

    @ApiModelProperty(value = "用户状态: 已认证1 未认证0", notes = "已认证1 未认证0")
    private Integer authed; //	已认证1 未认证0

}
